#ifndef __HAN_GPS_LIBUV_H
#define __HAN_GPS_LIBUV_H

#include "uv.h"

void halGpsConnect(const char *ip, int port, uv_connect_cb cb);
void halGpsLoopInit();
void halGpsInterval(void *cb, void *param, uint16_t time);
void halGpsClearInterval();
void halGpsMainWorkSetTimeout(void *cb, uint16_t time);
void halGpsReRegisterSetTimeout(void *cb, uint16_t time);
uv_connect_t *gethalGpsClientConnect();

void halGpsSpeedTimerStop();
void halGpsSpeedTimerSet(void *cb, uint16_t time);

// void halGpsSpeedZeroTimerStop();
// void halGpsSpeedZeroTimerSet(void *cb, uint16_t time);

#endif